-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Remove unused fixtures and fix test name in smart swaps disabled spec #25616
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #25616 +/- ##
========================================
Coverage 69.60% 69.60%
========================================
Files 1364 1364
Lines 48172 48172
Branches 13291 13291
========================================
Hits 33526 33526
Misses 14646 14646 ☔ View full report in Codecov by Sentry. |
Builds ready [cedb87c]
Page Load Metrics (152 ± 187 ms)
Bundle size diffs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you're already changing this file, lets update the name of the test
describe('Snap Account - Smart Swaps', function (this: Suite) {
it('checks if smart swaps are disabled for snap accounts', async function () {
...
}
}
Quality Gate passedIssues Measures |
Builds ready [52bc178]
Page Load Metrics (65 ± 8 ms)
Bundle size diffs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for adjusting this !
Description
Test name was not being captured correctly and recently came to appreciate that some of the snap account related fixtures were not actually needed for this test.
Updated test name and removed
accountSnapFixtures
Related issues
Fixes: 505
Manual testing steps
Firefox:
yarn build:test:mv2
thenENABLE_MV3=false yarn test:e2e:single test/e2e/accounts/smart-swap-disabled.spec.ts --browser=firefox
Chrome:
yarn build:test
thenyarn test:e2e:single test/e2e/accounts/smart-swap-disabled.spec.ts --browser=chrome
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist